﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NB.MGJ.Model.OriginsEntity
{
    /// <summary>
    /// 交易订单表
    /// </summary>
    public class organization_PaymentInfo
    {

        public int ID { get; set; }

        /// <summary>
        /// 机构ID
        /// </summary>
        public int EnterpriseID { get; set; }

        /// <summary>
        /// 登录名
        /// </summary>
        public string LoginName { get; set; }

        /// <summary>
        /// 交易时间
        /// </summary>
        public DateTime DealTime { get; set; }

        /// <summary>
        /// 充值金额
        /// </summary>
        public int DealMoney { get; set; }

  
        /// <summary>
        /// 是否开发票  0 没有  1 已开  默认：0
        /// </summary>
        public int IsBill { get; set; }

        /// <summary>
        /// 备注
        /// </summary>

        public string remark { get; set; }

        /// <summary>
        /// 1:微信支付 2:支付宝 3:银行卡
        /// </summary>
        public int PeyType { get; set; }

        /// <summary>
        /// 支付人的openid
        /// </summary>
        public string openid { get; set; }

        /// <summary>
        /// 商户单号
        /// </summary>
        public string out_trade_no { get; set; }

        /// <summary>
        /// 交易订单号
        /// </summary>
        public string transaction_id { get; set; }

     
        /// <summary>
        /// 单号 当前时间纯数字
        /// </summary>
        public string PayCode { get; set; }

        /// <summary>
        /// 机构名称
        /// </summary>
        [NotMapped]
        public string EnterpriseName { get; set; }

       
    }
}
